package com.sky.service;

import com.sky.entity.AddressBook;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AddressBookService {
   void save(AddressBook addressBook);

   List<AddressBook> list(AddressBook addressBook);

   AddressBook getById(Long id);

   void update(AddressBook addressBook);

   void deleteById(Long id);

   void setDefaultAddress(AddressBook addressBook);
}
